// Created from GenerationTemplate
// For Decisions HL7 Engine
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Reflection;
using DecisionsFramework.Design.Properties;
using Decisions.HL7.Generated.AbstractMessage;
using Decisions.HL7.DataTypes;
using ST = System.String;
using SI = System.String;
using TX = System.String;
using FT = System.String;
using IS = System.String;
using ID = System.String;
using SNM = System.String;

namespace Decisions.HL7.Message
{
    [DataContract]
	public class SAC : AbstractSegment
    {

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("1 External Accession Identifier",1)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI ExternalAccessionIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("2 Accession Identifier",2)]
  	    [HL7Field(HL7Version.v24, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 2, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 2, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI AccessionIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("3 Container Identifier",3)]
  	    [HL7Field(HL7Version.v24, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 3, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 3, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI ContainerIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("4 Primary (Parent) Container Identifier",4)]
  	    [HL7Field(HL7Version.v24, 4, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 4, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 4, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 4, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 4, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI PrimaryParentContainerIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("5 Equipment Container Identifier",5)]
  	    [HL7Field(HL7Version.v24, 5, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 5, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 5, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 5, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 5, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI EquipmentContainerIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("6 Specimen Source",6)]
  	    [HL7Field(HL7Version.v24, 6, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v25, 6, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v251, 6, HL7Repeat.False, HL7Required.True,"SPS")]
  	    [HL7Field(HL7Version.v26, 6, HL7Repeat.False, HL7Required.True,"SPS")]
	    public SPS SpecimenSource {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("7 Registration Date/Time",7)]
  	    [HL7Field(HL7Version.v24, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v25, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v251, 7, HL7Repeat.False, HL7Required.True,"TS")]
  	    [HL7Field(HL7Version.v26, 7, HL7Repeat.False, HL7Required.True,"DTM")]
  	    [HL7Field(HL7Version.v27, 7, HL7Repeat.False, HL7Required.True,"DTM")]
	    public DTM RegistrationDateTime {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("8 Container Status",8)]
  	    [HL7Field(HL7Version.v24, 8, HL7Repeat.False, HL7Required.True,"CE_0370")]
  	    [HL7Field(HL7Version.v25, 8, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 8, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 8, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 8, HL7Repeat.False, HL7Required.True,"CWE")]
		[ContainerStatus]
	    public CWE ContainerStatus {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("9 Carrier Type",9)]
  	    [HL7Field(HL7Version.v24, 9, HL7Repeat.False, HL7Required.True,"CE_0378")]
  	    [HL7Field(HL7Version.v25, 9, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 9, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 9, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 9, HL7Repeat.False, HL7Required.True,"CWE")]
		[CarrierType]
	    public CWE CarrierType {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("10 Carrier Identifier",10)]
  	    [HL7Field(HL7Version.v24, 10, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 10, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 10, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 10, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 10, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI CarrierIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("11 Position in Carrier",11)]
  	    [HL7Field(HL7Version.v24, 11, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v25, 11, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v251, 11, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v26, 11, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v27, 11, HL7Repeat.False, HL7Required.True,"NA")]
	    public NA PositioninCarrier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("12 Tray Type - SAC",12)]
  	    [HL7Field(HL7Version.v24, 12, HL7Repeat.False, HL7Required.True,"CE_0379")]
  	    [HL7Field(HL7Version.v25, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 12, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 12, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 12, HL7Repeat.False, HL7Required.True,"CWE")]
		[TrayType]
	    public CWE TrayTypeSAC {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("13 Tray Identifier",13)]
  	    [HL7Field(HL7Version.v24, 13, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v25, 13, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v251, 13, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v26, 13, HL7Repeat.False, HL7Required.True,"EI")]
  	    [HL7Field(HL7Version.v27, 13, HL7Repeat.False, HL7Required.True,"EI")]
	    public EI TrayIdentifier {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("14 Position in Tray",14)]
  	    [HL7Field(HL7Version.v24, 14, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v25, 14, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v251, 14, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v26, 14, HL7Repeat.False, HL7Required.True,"NA")]
  	    [HL7Field(HL7Version.v27, 14, HL7Repeat.False, HL7Required.True,"NA")]
	    public NA PositioninTray {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("15 Location",15)]
  	    [HL7Field(HL7Version.v24, 15, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 15, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 15, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 15, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 15, HL7Repeat.True, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE[] Location {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("16 Container Height",16)]
  	    [HL7Field(HL7Version.v24, 16, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 16, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 16, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 16, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 16, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM ContainerHeight {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("17 Container Diameter",17)]
  	    [HL7Field(HL7Version.v24, 17, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 17, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 17, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 17, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 17, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM ContainerDiameter {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("18 Barrier Delta",18)]
  	    [HL7Field(HL7Version.v24, 18, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 18, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 18, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 18, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 18, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM BarrierDelta {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("19 Bottom Delta",19)]
  	    [HL7Field(HL7Version.v24, 19, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 19, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 19, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 19, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 19, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM BottomDelta {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("20 Container Height/Diameter/Delta Units",20)]
  	    [HL7Field(HL7Version.v24, 20, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 20, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 20, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 20, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 20, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE ContainerHeightDiameterDeltaUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("21 Container Volume",21)]
  	    [HL7Field(HL7Version.v24, 21, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 21, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 21, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 21, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 21, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM ContainerVolume {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("22 Available Specimen Volume",22)]
  	    [HL7Field(HL7Version.v24, 22, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 22, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 22, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 22, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 22, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM AvailableSpecimenVolume {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("23 Initial Specimen Volume",23)]
  	    [HL7Field(HL7Version.v24, 23, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 23, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 23, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 23, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 23, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM InitialSpecimenVolume {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("24 Volume Units",24)]
  	    [HL7Field(HL7Version.v24, 24, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 24, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 24, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 24, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 24, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE VolumeUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("25 Separator Type",25)]
  	    [HL7Field(HL7Version.v24, 25, HL7Repeat.False, HL7Required.True,"CE_0380")]
  	    [HL7Field(HL7Version.v25, 25, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 25, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 25, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 25, HL7Repeat.False, HL7Required.True,"CWE")]
		[SeparatorType]
	    public CWE SeparatorType {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("26 Cap Type",26)]
  	    [HL7Field(HL7Version.v24, 26, HL7Repeat.False, HL7Required.True,"CE_0381")]
  	    [HL7Field(HL7Version.v25, 26, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 26, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 26, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 26, HL7Repeat.False, HL7Required.True,"CWE")]
		[CapType]
	    public CWE CapType {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("27 Additive",27)]
  	    [HL7Field(HL7Version.v24, 27, HL7Repeat.True, HL7Required.True,"CE_0371")]
  	    [HL7Field(HL7Version.v25, 27, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v251, 27, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v26, 27, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 27, HL7Repeat.True, HL7Required.True,"CWE")]
		[AdditivePreservative]
	    public CWE[] Additive {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("28 Specimen Component",28)]
  	    [HL7Field(HL7Version.v24, 28, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 28, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 28, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 28, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 28, HL7Repeat.False, HL7Required.True,"CWE")]
		[SpecimenComponent]
	    public CWE SpecimenComponent {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("29 Dilution Factor",29)]
  	    [HL7Field(HL7Version.v24, 29, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v25, 29, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v251, 29, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v26, 29, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v27, 29, HL7Repeat.False, HL7Required.True,"SN")]
	    public SN DilutionFactor {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("30 Treatment",30)]
  	    [HL7Field(HL7Version.v24, 30, HL7Repeat.False, HL7Required.True,"CE_0373")]
  	    [HL7Field(HL7Version.v25, 30, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 30, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 30, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 30, HL7Repeat.False, HL7Required.True,"CWE")]
		[Treatment]
	    public CWE Treatment {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("31 Temperature",31)]
  	    [HL7Field(HL7Version.v24, 31, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v25, 31, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v251, 31, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v26, 31, HL7Repeat.False, HL7Required.True,"SN")]
  	    [HL7Field(HL7Version.v27, 31, HL7Repeat.False, HL7Required.True,"SN")]
	    public SN Temperature {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("32 Hemolysis Index",32)]
  	    [HL7Field(HL7Version.v24, 32, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 32, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 32, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 32, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 32, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM HemolysisIndex {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("33 Hemolysis Index Units",33)]
  	    [HL7Field(HL7Version.v24, 33, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 33, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 33, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 33, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 33, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE HemolysisIndexUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("34 Lipemia Index",34)]
  	    [HL7Field(HL7Version.v24, 34, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 34, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 34, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 34, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 34, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM LipemiaIndex {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("35 Lipemia Index Units",35)]
  	    [HL7Field(HL7Version.v24, 35, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 35, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 35, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 35, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 35, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE LipemiaIndexUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("36 Icterus Index",36)]
  	    [HL7Field(HL7Version.v24, 36, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 36, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 36, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 36, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 36, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM IcterusIndex {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("37 Icterus Index Units",37)]
  	    [HL7Field(HL7Version.v24, 37, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 37, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 37, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 37, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 37, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE IcterusIndexUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("38 Fibrin Index",38)]
  	    [HL7Field(HL7Version.v24, 38, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v25, 38, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v251, 38, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v26, 38, HL7Repeat.False, HL7Required.True,"NM")]
  	    [HL7Field(HL7Version.v27, 38, HL7Repeat.False, HL7Required.True,"NM")]
	    public NM FibrinIndex {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("39 Fibrin Index Units",39)]
  	    [HL7Field(HL7Version.v24, 39, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v25, 39, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 39, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 39, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 39, HL7Repeat.False, HL7Required.True,"CWE")]
		[notableforCE]
	    public CWE FibrinIndexUnits {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("40 System Induced Contaminants",40)]
  	    [HL7Field(HL7Version.v24, 40, HL7Repeat.True, HL7Required.True,"CE_0374")]
  	    [HL7Field(HL7Version.v25, 40, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 40, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 40, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 40, HL7Repeat.True, HL7Required.True,"CWE")]
		[SystemInducedContaminants]
	    public CWE[] SystemInducedContaminants {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("41 Drug Interference",41)]
  	    [HL7Field(HL7Version.v24, 41, HL7Repeat.True, HL7Required.True,"CE_0382")]
  	    [HL7Field(HL7Version.v25, 41, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 41, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 41, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 41, HL7Repeat.True, HL7Required.True,"CWE")]
		[DrugInterference]
	    public CWE[] DrugInterference {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("42 Artificial Blood",42)]
  	    [HL7Field(HL7Version.v24, 42, HL7Repeat.False, HL7Required.True,"CE_0375")]
  	    [HL7Field(HL7Version.v25, 42, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 42, HL7Repeat.False, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 42, HL7Repeat.False, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 42, HL7Repeat.False, HL7Required.True,"CWE")]
		[ArtificialBlood]
	    public CWE ArtificialBlood {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("43 Special Handling Code",43)]
  	    [HL7Field(HL7Version.v24, 43, HL7Repeat.True, HL7Required.True,"CE_0376")]
  	    [HL7Field(HL7Version.v25, 43, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v251, 43, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v26, 43, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 43, HL7Repeat.True, HL7Required.True,"CWE")]
		[SpecialHandlingCode]
	    public CWE[] SpecialHandlingCode {get;set;}

        /// -----------------------------
        /// -----------------------------
		[DataMember]
    	[PropertyClassification("44 Other Environmental Factors",44)]
  	    [HL7Field(HL7Version.v24, 44, HL7Repeat.True, HL7Required.True,"CE_0377")]
  	    [HL7Field(HL7Version.v25, 44, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v251, 44, HL7Repeat.True, HL7Required.True,"CE")]
  	    [HL7Field(HL7Version.v26, 44, HL7Repeat.True, HL7Required.True,"CWE")]
  	    [HL7Field(HL7Version.v27, 44, HL7Repeat.True, HL7Required.True,"CWE")]
		[OtherEnvironmentalFactors]
	    public CWE[] OtherEnvironmentalFactors {get;set;}


	    [DataMember]
        [PropertyClassification("AdditionalValue1", 45)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue1 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue2", 46)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue2 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue3", 47)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue3 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue4", 48)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue4 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue5", 49)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue5 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue6", 50)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue6 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue7", 51)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue7 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue8", 52)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue8 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue9", 53)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue9 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue10", 54)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue10 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue11", 55)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue11 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue12", 56)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue12 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue13", 57)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue13 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue14", 58)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue14 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue15", 59)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue15 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue16", 60)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue16 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue17", 61)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue17 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue18", 62)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue18 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue19", 63)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue19 { get; set; }

		    [DataMember]
        [PropertyClassification("AdditionalValue20", 64)]
		[HL7Field(HL7Version.v23, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v231, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v24, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v25, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v251, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v26, 1, HL7Repeat.False, HL7Required.False)]
  	    [HL7Field(HL7Version.v27, 1, HL7Repeat.False, HL7Required.False)]
		public string AdditionalValue20 { get; set; }

	

		internal override void ConsumeTextSegment(string segmentTextData, HL7ParserOptions options)
		{
			string[] segmentTextParts = segmentTextData.Split(new char[] { options.FieldSep }, StringSplitOptions.None);
			ExternalAccessionIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 1, options, typeof(EI), "SAC.1");
			AccessionIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 2, options, typeof(EI), "SAC.2");
			ContainerIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 3, options, typeof(EI), "SAC.3");
			PrimaryParentContainerIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 4, options, typeof(EI), "SAC.4");
			EquipmentContainerIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 5, options, typeof(EI), "SAC.5");
			SpecimenSource = (SPS)ParseTextAtPositionIntoData(segmentTextParts, 6, options, typeof(SPS), "SAC.6");
			RegistrationDateTime = (DTM)ParseTextAtPositionIntoData(segmentTextParts, 7, options, typeof(DTM), "SAC.7");
			ContainerStatus = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 8, options, typeof(CWE), "SAC.8");
			CarrierType = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 9, options, typeof(CWE), "SAC.9");
			CarrierIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 10, options, typeof(EI), "SAC.10");
			PositioninCarrier = (NA)ParseTextAtPositionIntoData(segmentTextParts, 11, options, typeof(NA), "SAC.11");
			TrayTypeSAC = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 12, options, typeof(CWE), "SAC.12");
			TrayIdentifier = (EI)ParseTextAtPositionIntoData(segmentTextParts, 13, options, typeof(EI), "SAC.13");
			PositioninTray = (NA)ParseTextAtPositionIntoData(segmentTextParts, 14, options, typeof(NA), "SAC.14");
	    	Location = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 15, options, "SAC.15");
			ContainerHeight = (NM)ParseTextAtPositionIntoData(segmentTextParts, 16, options, typeof(NM), "SAC.16");
			ContainerDiameter = (NM)ParseTextAtPositionIntoData(segmentTextParts, 17, options, typeof(NM), "SAC.17");
			BarrierDelta = (NM)ParseTextAtPositionIntoData(segmentTextParts, 18, options, typeof(NM), "SAC.18");
			BottomDelta = (NM)ParseTextAtPositionIntoData(segmentTextParts, 19, options, typeof(NM), "SAC.19");
			ContainerHeightDiameterDeltaUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 20, options, typeof(CWE), "SAC.20");
			ContainerVolume = (NM)ParseTextAtPositionIntoData(segmentTextParts, 21, options, typeof(NM), "SAC.21");
			AvailableSpecimenVolume = (NM)ParseTextAtPositionIntoData(segmentTextParts, 22, options, typeof(NM), "SAC.22");
			InitialSpecimenVolume = (NM)ParseTextAtPositionIntoData(segmentTextParts, 23, options, typeof(NM), "SAC.23");
			VolumeUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 24, options, typeof(CWE), "SAC.24");
			SeparatorType = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 25, options, typeof(CWE), "SAC.25");
			CapType = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 26, options, typeof(CWE), "SAC.26");
	    	Additive = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 27, options, "SAC.27");
			SpecimenComponent = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 28, options, typeof(CWE), "SAC.28");
			DilutionFactor = (SN)ParseTextAtPositionIntoData(segmentTextParts, 29, options, typeof(SN), "SAC.29");
			Treatment = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 30, options, typeof(CWE), "SAC.30");
			Temperature = (SN)ParseTextAtPositionIntoData(segmentTextParts, 31, options, typeof(SN), "SAC.31");
			HemolysisIndex = (NM)ParseTextAtPositionIntoData(segmentTextParts, 32, options, typeof(NM), "SAC.32");
			HemolysisIndexUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 33, options, typeof(CWE), "SAC.33");
			LipemiaIndex = (NM)ParseTextAtPositionIntoData(segmentTextParts, 34, options, typeof(NM), "SAC.34");
			LipemiaIndexUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 35, options, typeof(CWE), "SAC.35");
			IcterusIndex = (NM)ParseTextAtPositionIntoData(segmentTextParts, 36, options, typeof(NM), "SAC.36");
			IcterusIndexUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 37, options, typeof(CWE), "SAC.37");
			FibrinIndex = (NM)ParseTextAtPositionIntoData(segmentTextParts, 38, options, typeof(NM), "SAC.38");
			FibrinIndexUnits = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 39, options, typeof(CWE), "SAC.39");
	    	SystemInducedContaminants = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 40, options, "SAC.40");
	    	DrugInterference = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 41, options, "SAC.41");
			ArtificialBlood = (CWE)ParseTextAtPositionIntoData(segmentTextParts, 42, options, typeof(CWE), "SAC.42");
	    	SpecialHandlingCode = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 43, options, "SAC.43");
	    	OtherEnvironmentalFactors = (CWE[])ParseTextAtPositionIntoDataArray<CWE>(segmentTextParts, 44, options, "SAC.44");
		}

		public string GetER7(HL7ParserOptions options) {
			List<string> segmentParts = new List<string>();
			segmentParts.Add("SAC");
			segmentParts.Add(GetER7TextForSegmentPart(ExternalAccessionIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(AccessionIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(PrimaryParentContainerIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(EquipmentContainerIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(SpecimenSource, options));
			segmentParts.Add(GetER7TextForSegmentPart(RegistrationDateTime, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerStatus, options));
			segmentParts.Add(GetER7TextForSegmentPart(CarrierType, options));
			segmentParts.Add(GetER7TextForSegmentPart(CarrierIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(PositioninCarrier, options));
			segmentParts.Add(GetER7TextForSegmentPart(TrayTypeSAC, options));
			segmentParts.Add(GetER7TextForSegmentPart(TrayIdentifier, options));
			segmentParts.Add(GetER7TextForSegmentPart(PositioninTray, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(Location, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerHeight, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerDiameter, options));
			segmentParts.Add(GetER7TextForSegmentPart(BarrierDelta, options));
			segmentParts.Add(GetER7TextForSegmentPart(BottomDelta, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerHeightDiameterDeltaUnits, options));
			segmentParts.Add(GetER7TextForSegmentPart(ContainerVolume, options));
			segmentParts.Add(GetER7TextForSegmentPart(AvailableSpecimenVolume, options));
			segmentParts.Add(GetER7TextForSegmentPart(InitialSpecimenVolume, options));
			segmentParts.Add(GetER7TextForSegmentPart(VolumeUnits, options));
			segmentParts.Add(GetER7TextForSegmentPart(SeparatorType, options));
			segmentParts.Add(GetER7TextForSegmentPart(CapType, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(Additive, options));
			segmentParts.Add(GetER7TextForSegmentPart(SpecimenComponent, options));
			segmentParts.Add(GetER7TextForSegmentPart(DilutionFactor, options));
			segmentParts.Add(GetER7TextForSegmentPart(Treatment, options));
			segmentParts.Add(GetER7TextForSegmentPart(Temperature, options));
			segmentParts.Add(GetER7TextForSegmentPart(HemolysisIndex, options));
			segmentParts.Add(GetER7TextForSegmentPart(HemolysisIndexUnits, options));
			segmentParts.Add(GetER7TextForSegmentPart(LipemiaIndex, options));
			segmentParts.Add(GetER7TextForSegmentPart(LipemiaIndexUnits, options));
			segmentParts.Add(GetER7TextForSegmentPart(IcterusIndex, options));
			segmentParts.Add(GetER7TextForSegmentPart(IcterusIndexUnits, options));
			segmentParts.Add(GetER7TextForSegmentPart(FibrinIndex, options));
			segmentParts.Add(GetER7TextForSegmentPart(FibrinIndexUnits, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(SystemInducedContaminants, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(DrugInterference, options));
			segmentParts.Add(GetER7TextForSegmentPart(ArtificialBlood, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(SpecialHandlingCode, options));
		    segmentParts.Add(GetER7TextForSegmentArrayPart(OtherEnvironmentalFactors, options));
			return string.Join("" + options.FieldSep, segmentParts.ToArray());
		}

    }
}

